package com.briup.jz.service;

import com.briup.jz.bean.extend.UserExtend;
import com.briup.jz.utils.CustomerException;

import java.util.List;

/**
 * @program：jz
 * @description：审核接口
 * @author：axin
 * @create：Created in 2020/6/15 17:12
 */
public interface ICheckService {
    /**
     * description:通过状态查找员工
     */
    List<UserExtend> findAllByStatus(String status);

    /**
     * description:更新员工审核状态
     */
    void updateUserStatus(Long id, String status) throws CustomerException;

    /**
     * description:提现审核
     */
    boolean withDarwal(Long id, Long money)throws CustomerException;
}
